* {
  font-family: "微软雅黑";
}
.in-warp {
  float: left;
  width: 100%;
  margin-top: -65%;
}
.in-warp h1 {
  padding-bottom: 20px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
}
.in-warp span {
  display: block;
  font-size: 22px;
  text-align: center;
  /* font-family: "微软雅黑"; */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: white;
}
.h-content {
  padding-top: 50%;
  width: 50%;
  padding-left: 25%;
  padding-right: 25%;
  background: url("https://www.rayvet.cn/cdn-product/mainimage1.jpg");
  background-size: 100% 100%;
}

/*面板控制*/

.spread2 {
  float: right;
  margin-right: 20px;
  width: 50px;
  height: 50px;
  display: none;
}
.aboutus {
  opacity: 0;
  overflow: auto;
  margin-top: 0px;
  width: 100%;
  padding: 40px 0;
}
.aboutus > h1,
.product > h1,
.recommend > h1,
.news > h1 {
  font-family: "arial, helvetica, sans-serif";
  font-size: 35px;
  height: 40px;
  line-height: 40px;
  width: 100%;
  text-align: center;
  padding-top: 4rem;
  font-weight: bold;
}
.aboutus > span,
.product > span {
  font-size: 24px;
  line-height: 27px;
  letter-spacing: -0.8px;
  display: block;
  word-break: break-word;
  letter-spacing: -0.016px;
  color: rgb(78, 80, 82);
  margin: auto;
  margin-top: 16px;
  margin-bottom: 80px;
  width: 50%;
  font-weight: 500;
  text-align: center;

  /* display: block;
  width: 400px;
  margin: 10px auto;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  color: rgba(150, 150, 150, 1); */
}
.aboutus ul {
  overflow: auto;
  margin-top: 30px;
  width: 100%;
}
.aboutus li {
  padding: 10px 30px;
  box-sizing: border-box;
  float: left;
  width: 23%;
  height: auto;
  overflow: auto;
}
.aboutus li:first-child {
  margin-left: 4%;
}
.aboutus li h1 {
  position: relative;
  color: white;
  /* font-size: 25px; */
  height: 30px;
  line-height: 30px;
  width: 100%;
  text-align: left;
}
.aboutus li h1 p {
  font-size: 24px;
  line-height: 27px;
  letter-spacing: -0.8px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 25px;
  /* font-size: 25px; */
  /* line-height: 25px; */
  color: rgb(49, 50, 51);
  font-family: Inter, sans-serif;
  font-weight: bold;
}
.aboutus li span {
  font-family: Inter, sans-serif;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -0.2px;
  color: rgb(118, 119, 122);
  /* color:rgb(78, 80, 82); */
  margin-top: 15px;
  display: block;
  /* font-size: 20px; */
  /* line-height: 30px; */
  width: 100%;
}
.aboutus img {
  height: auto;
  width: 100%;
}
.product > ul li {
  font-size: 20px;
  background: black;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  width: 23%;
  line-height: 40px;
  height: 40px;
  float: left;
  text-align: center;
}
.product > ul li:first-child {
  margin-left: 4%;
}
.product > ul li:hover {
  background: rgba(16, 95, 240, 0.7);
}
.product {
  background-size: 100% 100%;
  padding: 40px 0;
  opacity: 0;
  margin-top: 100px;
}
.product > ul {
  padding: 50px 0;
  overflow: auto;
}

.recommend {
  overflow: auto;
  position: relative;
  margin-top: 100px;
  width: 100%;
}
.recommend h1 {
  font-family: "arial, helvetica, sans-serif";
  font-size: 35px;
  overflow: auto;
  height: 50px;
  line-height: 50px;
  width: 100%;
  /* padding: 20px; */
  text-align: center;
}
.recommend ul {
  overflow: auto;
  width: 100%;
  margin-top: 30px;
  box-sizing: border-box;
  padding: 0 2%;
}
.recommend ul li {
  width: 14%;
  margin: 1.3%;
  float: left;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #cccccc;
  box-sizing: border-box;
}
.recommend ul div.rec {
  position: absolute;
  z-index: 0;
  font-size: 16px;
  color: black;
  width: 50;
  height: 0;
  border-top: 5rem solid rgb(81, 195, 251);
  border-right: 5rem solid transparent;
}
.recommend ul div span {
  position: absolute;
  bottom: 50px;
  font-size: 16px;
  margin-left: 5px;
  color: white;
}
.recommend ul .with_img {
  width: 100%;
  height: 0;
  padding-top: 100%;
  background-size: 100% 100%;
  margin: 5% 0;
}
.recommend ul li span p.first {
  padding: 0.5rem 0.2rem;
  box-sizing: border-box;
  height: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
  color: rgba(150, 150, 150, 1);
}
.recommend ul li span p.second {
  padding-top: 0.7rem;
  height: 40px;
  color: black;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 16px;
}
.recommend ul li button {
  cursor: pointer;
  background: rgb(81, 195, 251);
  margin-bottom: 1rem;
  /* padding: 10px 40px; */
  width: 60%;
  height: 1.7rem;
  font-size: 0.8rem;
  border-radius: 10px;
  color: white;
  border: 1px solid rgb(82 196 251);
}

.recommend ul li button:hover {
  color: orange;
  text-decoration: underline;
}

.c-content {
  position: relative;
  width: 100%;
  height: auto;
}
.c-c-warp {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
}
.c-content .c-image {
  float: left;
  width: 50%;
  padding-top: 30%;
  background-size: 100% 100%;
}
.c-content .c-c-des {
  box-sizing: border-box;
  padding-right: 10%;
  float: left;
  width: 50%;
  height: 100%;
}
.c-content h1 {
  margin-top: 50px;
  text-align: center;
  width: 100%;
  height: 30px;
  line-height: 30px;
  font-size: 25px;
}
.c-content span {
  color: rgb(150, 150, 150);
  margin-top: 50px;
  text-align: center;
  display: block;
  width: 100%;
  height: auto;
}
.c-content span > ul li {
  text-align: left;
  list-style: disc;
  width: 80%;
  margin-top: 15px;
  margin-left: 20%;
}
.c-content a {
  color: white;
  text-align: center;
  width: 100px;
  height: 30px;
  line-height: 30px;
  border-radius: 7px;
  margin: 20px auto 0;
  background: rgba(16, 95, 240, 0.7);
  display: block;
}

/*页面底部文字轮播*/
.mainproduct {
  opacity: 0;
  width: 70%;
  height: 300px;
  margin: 100px auto;
}
.mainproduct img {
  cursor: pointer;
  width: 15%;
  height: 100%;
  float: left;
}
.mainproduct > div {
  overflow: hidden;
  text-align: center;
  width: 70%;
  height: 100%;
  float: left;
}
.mainproduct h1 {
  font-size: 28px;
  font-weight: 700;
  width: 100%;
  height: 20%;
  text-align: center;
}
.mainproduct p {
  color: rgb(150, 150, 150);
  line-height: 30px;
  font-size: 20px;
  width: 100%;
  height: 70%;
  text-align: center;
}
.b-content {
  transition: 1s;
  width: 400%;
  height: 100%;
}
.b-content ul {
  width: 100%;
  height: 100%;
}
.b-content li {
  box-sizing: border-box;
  padding: 20px;
  padding-top: 50px;
  width: 25%;
  height: 100%;
  float: left;
}
.middlecontent {
  box-sizing: border-box;
  width: 1040px;
  margin: 100px auto;
  overflow: auto;
}
.middle-right {
  width: 500px;
  height: 500px;
  float: left;
  margin-left: 40px;
  background: url("https://www.rayvet.cn/cdn-product/productright.jpg");
  background-size: 100% 100%;
}
.middle-left {
  width: 500px;
  height: 500px;
  float: left;
  background: rgb(81, 195, 251);
}
.middle-left h1 {
  font-weight: 700;
  color: white;
  margin-top: 90px;
  text-align: left;
  text-indent: 20px;
  width: 100%;
  font-size: 50px;
}
.middle-left span {
  display: block;
  width: 100%;
  box-sizing: border-box;
  line-height: 35px;
  padding: 20px 20px;
  color: white;
  font-size: 23px;
}
.middle-left span i {
  color: black;
  font-size: 23px;
  font-weight: 700;
}

.news {
  margin-top: 60px;
}
.news h1 {
  margin-bottom: 2rem;
}

.news ul a {
  display: block;
}
.news ul li {
  margin: 10px 10%;
  overflow: auto;
  padding: 10px;
}

.news ul a:hover {
  box-shadow: 8px 14px 38px rgba(39, 44, 49, 0.06),
    1px 3px 8px rgba(39, 44, 49, 0.03);
}

.news_left {
  float: left;
  margin-right: 10px;
}
.news_left img {
  width: 160px;
  height: 100px;
}
.news_right {
  padding: 5px 10px;
  box-sizing: border-box;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
}
.right_title {
  font-size: 21px;
  letter-spacing: -0.5px;
  /* font-size: 20px; */
  line-height: 25px;
  /* color: #222222; */
  color: #090a0b;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 2行 */
  -webkit-box-orient: vertical;
}
.right_content {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 2行 */
  -webkit-box-orient: vertical;
  font-size: 15px;
  /* color: #888888; */
  color: #3c484f;
  margin: 5px;
}
.right_time {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* 2行 */
  -webkit-box-orient: vertical;
  font-size: 12px;
  color: #888888;
}
.view_more {
  width: 80%;
  margin: auto;
  text-align: right;
  font-size: 20px;
  color: rgb(81, 195, 251);
}
@media only screen and (max-width: 1040px) {
  .middlecontent {
    box-sizing: border-box;
    width: 500px;
    margin: 50px auto 0;
    overflow: auto;
  }
  .middle-right {
    width: 400px;
    height: 400px;
    margin: 20px 80px 0 20px;
  }
  .aboutus li {
    padding: 30px 50px;
    box-sizing: border-box;
    float: left;
    width: 47%;
    height: 500px;
    overflow: auto;
  }
  .aboutus li:first-child {
    margin-left: 0;
  }
  .aboutus li h1 {
    position: relative;
    color: white;
    font-size: 25px;
    height: 30px;
    line-height: 30px;
    width: 100%;
    text-align: left;
  }
  .aboutus li h1 p {
    text-align: center;
  }
  .aboutus li span {
    margin-top: 10px;
    display: block;
    font-size: 16px;
    width: 100%;
    text-align: center;
    line-height: 27px;
    letter-spacing: -0.2px;
    color: rgb(118, 119, 122);
    font-family: Inter, sans-serif;
  }
  .in-warp span {
    font-size: 15px;
  }
  .recommend {
    overflow: auto;
    position: relative;
    margin-top: 0px;
    width: 100%;
    padding-top: 5rem;
  }
  .recommend h1 {
    font-family: "arial, helvetica, sans-serif";
    font-size: 2rem;
    overflow: auto;
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    margin-bottom: 1rem;
    /* padding: 20px; */
    text-align: center;
  }
  .recommend ul {
    overflow: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5%;
  }
  .recommend ul li {
    width: 30%;
    margin: 1.5%;
    float: left;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #cccccc;
    box-sizing: border-box;
  }
  .recommend ul div.rec {
    position: absolute;
    z-index: 0;
    height: 0;
    border-top: 4rem solid rgb(81, 195, 251);
    border-right: 4rem solid transparent;
  }

  .recommend ul div span {
    font-size: 0.12rem;
    position: absolute;
    bottom: 2rem;
    margin-left: 5px;
    color: white;
  }
  .recommend ul img {
    width: 99%;
    height: 38%;
    margin: 5% 0;
  }
  .recommend ul li span p {
    /* padding: .5rem; */
    height: 18%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 1rem;
    color: rgba(150, 150, 150, 1);
  }
  .recommend ul li button {
    cursor: pointer;
    background: rgb(81, 195, 251);
    margin-bottom: 1rem;
    /* padding: 5px 20px;  */
    width: 50%;
    height: 1.7rem;
    font-size: 0.8rem;
    border-radius: 10px;
    color: white;
    border: 1px solid rgb(82 196 251);
  }

  @media only screen and (min-width: 100px) and (max-width: 700px) {
    .mainproduct {
      opacity: 0;
      width: 100%;
      height: 200px;
      margin: 100px auto;
    }
    .mainproduct h1 {
      width: 100%;
      height: 20%;
      font-size: 18px;
      text-align: center;
    }
    .mainproduct p {
      line-height: 20px;
      font-size: 14px;
      width: 100%;
      height: 80%;
      text-align: center;
    }
    .b-content li {
      box-sizing: border-box;
      padding: 5px;
      padding-top: 30px;
      width: 25%;
      height: 100%;
      float: left;
    }
    .product > ul li {
      cursor: pointer;
      width: 100%;
      height: 30px;
      line-height: 30px;
      float: left;
      text-align: center;
    }
    .product > ul li:first-child {
      margin-left: 0;
    }
    .aboutus > h1,
    .product > h1,
    .recommend > h1 {
      font-size: 30px;
      height: 30px;
      line-height: 30px;
      width: 100%;
      text-align: center;
    }
    .aboutus > span {
      text-align: center;
      display: block;
      width: 300px;
      margin: 10px auto;
      font-size: 16px;
    }
    .product > span,
    .recommend > span {
      text-align: center;
      display: block;
      width: 200px;
      margin: 10px auto;
      font-size: 10px;
    }
    .aboutus li {
      width: 47%;
      height: auto;
      margin: 0 auto;
    }
    /* .aboutus img{
      height: 150px;
      width:100%;
    } */
    .product > ul {
      padding: 50px 0;
      overflow: auto;
      display: none;
    }

    .recommend {
      overflow: auto;
      position: relative;
      margin-top: 0px;
      width: 100%;
      padding-top: 5rem;
    }
    .recommend h1 {
      font-family: "arial, helvetica, sans-serif";
      font-size: 2rem;
      overflow: auto;
      height: 3rem;
      line-height: 3rem;
      width: 100%;
      margin-bottom: 1rem;
      /* padding: 20px; */
      text-align: center;
    }
    .recommend ul {
      overflow: auto;
      width: 100%;
      box-sizing: border-box;
      padding: 0 5%;
    }
    .recommend ul li {
      width: 30%;
      margin: 1.5%;
      float: left;
      text-align: center;
      border-radius: 10px;
      border: 1px solid #cccccc;
      box-sizing: border-box;
    }
    .recommend ul div.rec {
      position: absolute;
      z-index: 0;
      height: 0;
      border-top: 0 solid white;
      border-right: 0 solid transparent;
    }
    .recommend ul div span {
      font-size: 0;
    }
    .recommend ul img {
      width: 99%;
      height: 38%;
      margin: 5% 0;
    }
    .recommend ul li span p {
      /* padding: .4rem; */
      height: 18%;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      font-size: 0.12rem;
      color: rgba(150, 150, 150, 1);
    }
    .recommend ul li button {
      cursor: pointer;
      background: rgb(81, 195, 251);
      margin-bottom: 1rem;
      /* padding: 5px 20px;  */
      width: 50%;
      height: 1.7rem;
      font-size: 0.8rem;
      border-radius: 10px;
      color: white;
      /* border: 1px solid rgba(16,95,240,0.7); */
    }

    .c-content .c-image {
      float: left;
      width: 100%;
      padding-top: 50%;
      background-size: 100% 100%;
    }
    .c-content .c-c-des {
      box-sizing: border-box;
      float: left;
      width: 100%;
      height: 100%;
      padding: 0 30px;
    }
    .c-content h1 {
      margin-top: 50px;
      text-align: center;
      width: 100%;
      height: 30px;
      line-height: 30px;
      font-size: 25px;
    }
    .c-content span {
      margin-top: 50px;
      text-align: center;
      display: block;
      width: 100%;
      height: auto;
    }
    .c-content a {
      text-align: center;
      width: 100%;
      margin-top: 10px;
      display: block;
    }
    .c-content {
      position: relative;
      margin-top: 50px;
      width: 100%;
      height: auto;
      min-height: 650px;
    }
    .spread2 {
      float: right;
      margin-right: 20px;
      width: 30px;
      height: 30px;
      display: block;
    }

    .view_more {
      width: 100%;
      float: left;
      text-align: center;
      font-size: 20px;
      color: rgb(81, 195, 251);
    }
  }
  @media only screen and (min-width: 100px) and (max-width: 500px) {
    .news ul li {
      margin: 10px 5%;
      overflow: auto;
      padding: 10px;
    }
    .news_left {
      float: left;
      margin-right: 5px;
    }
    .news_left img {
      width: 130px;
      height: 100px;
    }
    .middlecontent {
      box-sizing: border-box;
      width: 300px;
      margin: 50px auto 0;
      overflow: auto;
    }
    .middle-right {
      width: 250px;
      height: 250px;
      margin: 20px 40px 0 10px;
    }
    .middle-left {
      width: 300px;
      height: auto;
      float: left;
    }
    .middle-left h1 {
      font-weight: 700;
      color: white;
      margin-top: 61px;
      text-align: left;
      text-indent: 20px;
      width: 100%;
      font-size: 40px;
    }
    .middle-left span i {
      color: black;
      font-size: 20px;
      font-weight: 700;
    }
    .middle-left span {
      display: block;
      width: 100%;
      box-sizing: border-box;
      line-height: 35px;
      padding: 20px 20px;
      color: white;
      font-size: 20px;
    }
    .content {
      margin-top: 50%;
    }
    .h-content {
      padding-top: 50%;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }
    .in-warp {
      margin-left: 10%;
      width: 80%;
      margin-top: 10%;
      padding-bottom: 30px;
    }
    .in-warp h1 {
      text-align: center;
      font-size: 30px;
      height: 40px;
      line-height: 40px;
    }
    .in-warp span {
      color: black;
      font-size: 14px;
      line-height: 23px;
    }
    .aboutus > h1,
    .product > h1 {
      font-size: 30px;
      height: 40px;
      line-height: 40px;
      width: 100%;
      text-align: center;
    }
    .aboutus li {
      width: 100%;
      height: auto;
      margin: 0 auto;
    }
    /* .aboutus img{
      height: 100px;
      width:100%;
    } */
    .c-content {
      position: relative;
      margin-top: 50px;
      width: 100%;
      height: auto;
      min-height: 550px;
    }
    .c-content span {
      margin-top: 50px;
      text-align: center;
      display: block;
      width: 100%;
      height: auto;
    }
    .recommend {
      overflow: auto;
      position: relative;
      margin-top: 0px;
      width: 100%;
      padding-top: 5rem;
    }
    .recommend h1 {
      font-family: "arial, helvetica, sans-serif";
      font-size: 2rem;
      overflow: auto;
      height: 3rem;
      line-height: 3rem;
      width: 100%;
      margin-bottom: 1rem;
      /* padding: 20px; */
      text-align: center;
    }
    .recommend ul {
      overflow: auto;
      width: 100%;
      box-sizing: border-box;
      padding: 0 5%;
    }
    .recommend ul li {
      width: 45%;
      margin: 1.5%;
      float: left;
      text-align: center;
      border-radius: 10px;
      border: 1px solid #cccccc;
      box-sizing: border-box;
    }
    .recommend ul div.rec {
      position: absolute;
      z-index: 0;
      height: 0;
      border-top: 0 solid white;
      border-right: 0 solid transparent;
    }
    .recommend ul div span {
      font-size: 0;
    }
    .recommend ul img {
      width: 99%;
      height: 38%;
      margin: 5% 0;
    }
    .recommend ul li span p {
      /* padding: .3rem; */
      height: 18%;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
      font-size: 0.12rem;
      color: rgba(150, 150, 150, 1);
    }
    .recommend ul li button {
      cursor: pointer;
      background: rgb(81, 195, 251);
      margin-bottom: 1rem;
      /* padding: 5px 20px;  */
      width: 50%;
      height: 1.7rem;
      font-size: 0.8rem;
      border-radius: 10px;
      color: white;
      /* border: 1px solid rgba(16,95,240,0.7); */
    }
  }
}
